package com.zuikaku.nettychat.service;

import com.zuikaku.nettychat.pojo.User;

import java.util.List;

public interface UserService {
    User getUserByPhone(String phone);


    int addUserByUser(User newUser);

    User getUserByPhoneAndPassword(String phone, String password);

    List<User> queryUserByNick(String nick);
}
